/**
 * 
 * vue 公用配置插件
 * 
 */

import config from './../../../config/config'
import axios from './../../axios/axios';

import commoncomponents from "./../js/commoncomponents"; //公用组件
import commonmethods from "./../js/commonmethods"; //公用方法

const initvue = {};

initvue.install = function(Vue, optionbs) {

	Vue.mixin({
		components: commoncomponents,
		methods: commonmethods
	})

	Vue.config.productionTip = false;
	Vue.prototype.$http = axios;
	Vue.prototype.$config = config;
}

export default initvue;